#pragma once

#ifdef _DEBUG

enum SENDRECIEVE {SEND, RECIEVE};
enum PACKAGESTATE {ORIGINAL, ENCRYPED};

void CreateLogger(const wchar_t* fileName);
void CloseLogger();
void WriteLogger(const char* lpszText, ...);
void WritePackage(SENDRECIEVE how, PACKAGESTATE state, unsigned int s, const char* buf, int len);


#else

#define CreateLogger(...)
#define CloseLogger()
#define WriteLogger(...)
#define WritePackage(...)

#endif //__509_DEBUG